package com.chaopei.order_mng.mapper;

import com.chaopei.order_mng.entity.OrderDetail;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author Corday 天涯
 * @Date 2022/5/11 16:19
 */
@Mapper
//@Transactional
public interface OrderDetailMapper {
//    生成订单详情表,传集合对象,一个订单有多商品
    int insertOrderDetail(List<OrderDetail> orderDetails);
}
